package com.elric.mall.mapper;

import com.elric.mall.model.ZgProjectEntityNew;
import com.elric.mall.model.ZgProjectEntityNewExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface ZgProjectEntityNewMapper {
    long countByExample(ZgProjectEntityNewExample example);

    int deleteByExample(ZgProjectEntityNewExample example);

    int deleteByPrimaryKey(@Param("id") String id, @Param("createId") String createId);

    int insert(ZgProjectEntityNew record);

    int insertBatch(List<ZgProjectEntityNew> records);

    int insertSelective(ZgProjectEntityNew record);

    List<ZgProjectEntityNew> selectByExampleWithBLOBs(ZgProjectEntityNewExample example);

    List<ZgProjectEntityNew> selectByExample(ZgProjectEntityNewExample example);

    ZgProjectEntityNew selectByPrimaryKey(@Param("id") String id, @Param("createId") String createId);

    int updateByExampleSelective(@Param("record") ZgProjectEntityNew record, @Param("example") ZgProjectEntityNewExample example);

    int updateByExampleWithBLOBs(@Param("record") ZgProjectEntityNew record, @Param("example") ZgProjectEntityNewExample example);

    int updateByExample(@Param("record") ZgProjectEntityNew record, @Param("example") ZgProjectEntityNewExample example);

    int updateByPrimaryKeySelective(ZgProjectEntityNew record);

    int updateByPrimaryKeyWithBLOBs(ZgProjectEntityNew record);

    int updateByPrimaryKey(ZgProjectEntityNew record);
}